@import url('./variables.less');

@font-face {
  font-family: "poppins";
  src: url('./font/Poppins-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "poppins";
  src: url('./font/Poppins-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "poppins";
  src: url('./font/Poppins-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "poppins";
  src: url('./font/Poppins-Light.ttf') format('truetype');
  font-weight: light;
  font-style: normal;
}

@font-face {
  font-family: "poppins";
  src: url('./font/Poppins-LightItalic.ttf') format('truetype');
  font-weight: light;
  font-style: italic;
}

*,
::after,
::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box
}

:root {
  font-family: 'Microsoft YaHei',
    /* 英文写法，兼容性更广 */
    '微软雅黑',
    /* 中文写法，覆盖部分特殊场景 */
    'PingFang SC',
    /* 苹果系统首选（苹方简体） */
    'Hiragino Sans GB',
    /* 旧版苹果系统备用（冬青黑体） */
    'WenQuanYi Micro Hei',
    /* Linux 系统备用（文泉驿微米黑） */
    SimSun,
    /* 宋体（极端情况回退） */
    sans-serif;
  /* 通用无衬线字体兜底 */
  line-height: 1.5;
  font-weight: 400;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  --v-theme: #3ead7d;
  --v-theme-rgb: 62, 173, 125;
  --v-dark: #292d3e;
  --v-dark-rgb: 33, 37, 50;
  --v-text: #292d3e;
  --v-text-rgb: 33, 37, 50;
  --v-light: #a9aeb8;
  --v-light-rgb: 169, 174, 184;
  --v-lighter: #c9cdd4;
  --v-lighter-rgb: 201, 205, 212;
  --v-border: #e1e1e1;
  --v-border-rgb: 225, 225, 225;
  --v-background: #fafafa;
  --v-background-deep: #eee;
  --v-background-rgb: 39, 45, 58;
  --v-tr-bg: #f1f1f9;
  --v-success: #06bfad;
  --v-success-rgb: 6, 191, 173;
  --v-error: #fc5531;
  --v-error-rgb: 252, 85, 49;
  --v-tr-shadow: 0 6px 58px 0 rgba(57, 62, 88, .05), 0 1px 7px 0 rgba(57, 62, 88, .15);
  --v-top-height: 60px;
  --swiper-navigation-color: var(--v-theme);
  /* 直接设置箭头颜色（如灰色） */
  --swiper-pagination-color: var(--v-theme);

  /* 直接设置箭头颜色（如灰色） */
  ::-webkit-scrollbar {
    width: 10px;
    height: 12px;
    background: var(--v-border);
  }

  ::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background: var(--v-theme);
  }
}

::selection {
  background: var(--v-theme);
  color: var(--v-background);
}

body,
html {
  margin: 0;
  padding: 0;
  background: var(--v-background);
  color: var(--v-text);
  overflow-y: auto;
  overflow-x: hidden;
  transition: all .6s;
}

ul,
ol,
li,
dl,
dt,
dd,
p,
h1,
h2,
h3,
h4,
h5,
h6,
figure {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--v-link);
  text-decoration: none;
  transition: color .4s;

  &:hover {
    color: var(--v-theme);
  }
}

img {
  max-width: 100%;
}

input {
  border: none;
  outline: none;
}


@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes flips {
  0% {
    transform: rotateY(0deg);
  }

  50% {
    transform: rotateY(360deg);
  }

  100% {
    transform: rotateY(360deg);
  }
}


@keyframes process {
  0% {
    width: 0
  }

  100% {
    width: 100%
  }
}


@keyframes flip {
  0% {
    transform: rotateZ(0deg);
  }

  50% {
    transform: rotateY(180deg);
  }

  100% {
    transform: rotateZ(0deg);
  }
}